package com.shen.modules.sys.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.shen.common.utils.PageUtils;
import com.shen.modules.sys.entity.SysMonitorEntity;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * @author sjl
 */
@Component
public interface SysMonitorDao extends BaseMapper<SysMonitorEntity> {
    /**
     * 提交监控错误报告
     * @param sysMonitor
     */
    public void reportMonitor(SysMonitorEntity sysMonitor);

    /**
     * 查询监控报告
     * @param params
     * @return
     */
    public PageUtils selMonitor(Map<String, Object> params);
}
